<div class="row">

  <div class="col-sm-2" style="max-width: 15em">
    <div class="row">

      <div class="col-sm-12 col-xs-12" style="margin-bottom: 1.5em">
        <a class="btn btn-success btn-block"
           ui-sref="lesson.show.discussion.creating({lessonId: currentLessonId})"
            >
          发起新的讨论
        </a>
      </div>

      <div class="col-sm-12 col-xs-12">
        <filter-on-cond conditions="discussionFilterConditions" condition-obj="filterCondObj" >
        </filter-on-cond>
      </div>

    </div>

  </div>

  <div class="col-sm-10 lesson-discussion-box">

    <div class="row">

      <div class="col-sm-12">

        <ul class="list-group" ng-show="discussionList.length">

          <li class="list-group-item list-group-item-hover" ng-repeat="currentDiscussion in discussionList">
            <discussion-list-item discussion="currentDiscussion"></discussion-list-item>
          </li>

        </ul>

        <div ng-hide="discussionList.length">
          <p class="text-info text-center lead" style="margin-top: 2em">
            <span ng-hide="withoutFiltering">没有符合筛选条件的讨论</span>
            <span ng-show="withoutFiltering">当前课程还没有创建任何讨论</span>
          </p>

        </div>

      </div>

    </div>
  </div>
</div>